Reactive2DList.SetItem(int, int, T) method¶
Defined in
Type: Reactive2DListReactiveList.Reactive.Collections
Assembly: ReactiveList.Reactive.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
public void SetItem(int outerIndex, int innerIndex, T value)
View source (opens in a new tab)
Summary: Sets the element at the specified inner index within the inner list at the given outer index.
Parameters
| Name | Type | Description |
|---|---|---|
outerIndex | int (opens in a new tab) | The zero-based index of the outer list that contains the inner list to modify. Must be greater than or equal to 0 and less than the total number of outer lists. |
innerIndex | int (opens in a new tab) | The zero-based index of the element within the inner list to set. Must be greater than or equal to 0 and less than the number of elements in the specified inner list. |
value | T | The new value to assign to the element at the specified inner index. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentOutOfRangeException (opens in a new tab) | Thrown if outerIndex is less than 0 or greater than or equal to the number of outer lists, or if innerIndex is less than 0 or greater than or equal to the number of elements in the specified inner list. |